<?php
namespace app\jok\controller;
use think\Request;
use app\jok\logic\systemAdminLogic;
class Login
{
    public function login(Request $request){
        $username = $request->param('username');
        $pwd = $request->param('password');
        $result = (new systemAdminLogic)->checkLogin($username,$pwd);
        if($result['code'] > 0){
            
        }else{

        }
        return json($result);
    }
}
